
//
//  SecondVC.m
//  KeyBoard
//
//  Created by MyMac on 15/10/23.
//  Copyright © 2015年 tongfang. All rights reserved.
//

#import "SecondVC.h"

@implementation SecondVC
-(void)viewDidLoad{
    [super viewDidLoad];
    self.view.backgroundColor=[UIColor yellowColor];
    UITextField*filed=[[UITextField alloc]initWithFrame:CGRectMake(0, self.view.bounds.size.height-44, self.view.bounds.size.width, 44)];
    filed.backgroundColor=[UIColor redColor];
    [self.view addSubview:filed];
    
    
    
}
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.view endEditing:YES];
    
    
}
@end
